package request1_p2p;

import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName COrderEvent
 * @Description TODO
 * @Author MaQingpin
 * @Date 2020/11/6 16:33
 * @Version 1.0
 */
public class COrderEvent {
    private List<Product> productList=new ArrayList<>();
    private Consumer consumer;
    private Merchant merchant;

    public Consumer getConsumer() {
        return consumer;
    }

    public void setConsumer(Consumer consumer) {
        this.consumer = consumer;
    }

    public Merchant getMerchant() {
        return merchant;
    }

    public void setMerchant(Merchant merchant) {
        this.merchant = merchant;
    }

    public COrderEvent(List<Product> productList, Consumer consumer, Merchant merchant) {
        this.productList = productList;
        this.consumer=consumer;
        this.merchant=merchant;
    }

    public List<Product> getProductList() {
        return productList;
    }

    public void setProductList(List<Product> productList) {
        this.productList = productList;
    }
}
